package edu.pku.sei.act.model.mote;

import edu.pku.sei.act.model.common.ArchiModelConst;
import edu.pku.sei.gmp.model.util.GMPTypedList;
import edu.pku.sei.gmp.properties.annotation.GMPAnnotation;
import edu.pku.sei.gmp.properties.annotation.GMPListAnnotation;

public class Data extends InnerMoteElement {

	@GMPAnnotation(
			id = "edu.pku.sei.act.model.Data.DATA_ITEM",
			name = ArchiModelConst.DATA_ITEM,
			category = "Model",
			getter = "getItem",
			setter = "setItem",
			visible = true,
			serialize = true,
			reference = false
			)
	@GMPListAnnotation(
			allowedType = DataItem.class,
			typeString = ArchiModelConst.__DATAITEM__
		    )
	private GMPTypedList<DataItem> item = new GMPTypedList<DataItem>(
				ArchiModelConst.DATA_ITEM, GMPTypedList.BAG, this, DataItem.class, true);
	


	public GMPTypedList<DataItem> getItem() {
		return item;
	}
	
	public void setItem(GMPTypedList<DataItem> DATA_ITEM) {
		this.item = DATA_ITEM;
	}
	

}